/**
 * 
 */
package ccrClasses.layer2;

import ccrClasses.ICcr;

/**
 * @author matheus
 *
 */
public class ExactDateTime implements ICcr{
	
	public static String OPEN_TAG = "<ExactDateTime>";

	public static String CLOSE_TAG = "</ExactDateTime>";
	
	/**
	 * Zulu	CCYY-MM-DDThh:mm:ssZ
	 * Non-Zulu time (particular time zone)	CCYY-MM-DDThh:mm:ss-hh:mm
	 */	
	private String value;

	/**
	 * 
	 * @param value - Zulu	CCYY-MM-DDThh:mm:ssZ  
	 * 				  Non-Zulu time (particular time zone)	CCYY-MM-DDThh:mm:ss-hh:mm
	 */
	public ExactDateTime(String value) {
		super();
		this.value = value;
	}

	public ExactDateTime() {
		super();
	}

	/**
	 * @return the value
	 */
	public String getValue() {
		return value;
	}

	/**
	 * @param value the value to set
	 */
	public void setValue(String value) {
		this.value = value;
	}

	/**
	 * @return the oPEN_TAG
	 */
	public String getOPEN_TAG() {
		return OPEN_TAG;
	}

	/**
	 * @return the cLOSE_TAG
	 */
	public String getCLOSE_TAG() {
		return CLOSE_TAG;
	}

	@Override
	public String constructCcrString() {		
		return new String(OPEN_TAG + value + CLOSE_TAG);
	}
	
	

}
